package com.example.mysaat.handle_utils;

import android.app.Activity;
import android.drm.DrmStore;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class MyIntovationHandle implements InvocationHandler {
    private ManagerActivityInterface<Activity> activity;
    public MyIntovationHandle (ManagerActivityInterface<Activity> activity ){
            this.activity = activity;
    }
    @Override
    public Object invoke(Object o, Method method, Object[] objects) throws Throwable {
         Object obj = method.invoke(this.activity,objects);
        return obj;
    }
}
